package com.songtech.lottery.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;
import java.util.Map;

@Table(name = "sys_user")
public class SysUser {
    @Id
    private String id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 微信头像地址
     */
    private String url;

    /**
     * 签到时间
     */
    @Column(name = "create_time")
    private Date createTime;
    /**
     * 是否已中奖(0否，1是)
     */
    @Column(name = "is_win")
    private Integer isWin;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsWin() {
        return isWin;
    }

    public void setIsWin(Integer isWin) {
        this.isWin = isWin;
    }
}